<?php /* Smarty version Smarty-3.0.8, created on 2014-11-03 19:12:39
         compiled from "G:\xmap\htdocs\pttime/tpl\main_index.html" */ ?>
<?php /*%%SmartyHeaderCode:262975457632792bd65-55426075%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8c124a7deb497a30bba1f6dd670058c2b7a1f02b' => 
    array (
      0 => 'G:\\xmap\\htdocs\\pttime/tpl\\main_index.html',
      1 => 1414455077,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '262975457632792bd65-55426075',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html>
<html>
	<head>

	    <title>TimePicker</title>
	    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
	    <link rel="stylesheet" href="tpl/css/app.css">
	    <link rel="stylesheet" href="tpl/css/timepicker.css">
	    <link rel="stylesheet" href="tpl/css/new.css">
	</head>

  	<body>

	  	<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('pages')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>	
	    	<?php $_template = new Smarty_Internal_Template("tpl/pages/".($_smarty_tpl->tpl_vars['item']->value).".html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>
	  	<?php }} ?> 

		<script  src="tpl/js/zepto.min.js"></script>
		<script  src="tpl/js/zepto.touch.js"></script>
		<script  src="tpl/js/function.js"></script>

		<script  src="tpl/js/app.js"></script>
		
		<script  src="tpl/js/jquery-1.11.1.min.js"></script>
		<script  src="tpl/js/main.js"></script>
		<script src="tpl/js/getDate.js"></script>



		<script>
	      	<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('pages')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?> 
	        	<?php $_template = new Smarty_Internal_Template("tpl/js/controller/".($_smarty_tpl->tpl_vars['item']->value).".js", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>
	      	<?php }} ?> 

		    try{
		        //相当于检查session
		        $.get(url("user","is_login"),function(data){
		        	
		            if(data.errcode == "success")
		            {
		              App.restore();
		            }else{
		              App.load("login");
		            }
		        },"json");

		    }catch (err) {
		        App.load("login");
		    }

		</script>
    
	</body>
</html>